package io.renren.service;

import io.renren.entity.WeixinMenu;

import java.util.List;
import java.util.Map;

/**
 * 微信菜单
 * 
 * @author zk
 * @email zk13899@163.com
 * @date 2017-07-21 15:22:07
 */
public interface WeixinMenuService {
	
	WeixinMenu queryObject(Integer id);
	
	List<WeixinMenu> queryList(Map<String, Object> map);
	
	List<WeixinMenu> queryListByParent(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(WeixinMenu weixinMenu);
	
	void update(WeixinMenu weixinMenu);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
	
	void updateAllStatus();
	
	void updateSomeStatus(Integer[] ids);
	
	List<WeixinMenu> queryListByIds(Integer[] ids);
}
